package com.ruicar.afs.cloud.product.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author xudongdong
 * @date 2020-05-12
 */
@Data
@TableName("product_extras_plan")
@ApiModel(value = "附加贷方案清单信息")
public class ExtrasProgramInfo extends BaseEntity<ExtrasProgramInfo> {

    @ApiModelProperty(value = "方案编号")
    private String planNo;

    /**
     * 附加贷方案名称
     */
    private String extrasPlanName;
    /**
     * 产品ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long productPlanId;
    /**
     * 是否存在产品
     */
    private String isProduct;
    /**
     * 产品名称
     */
    private String productPlanName;
    /**
     * 生效状态
     */
    private String status;
    /**
     * 附加项目名称
     */
    private String extrasProjectName;
}
